+Fri Jul 23 11:01:00 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag):
+ Don't iterate too far up. (#147965, Olivier Sessink)
+
Fri Jul 23 10:28:43 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_finalize):
+Fri Jul 23 11:01:00 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag):
+ Don't iterate too far up. (#147965, Olivier Sessink)
+
Fri Jul 23 10:28:43 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_finalize):
+Fri Jul 23 11:01:00 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag):
+ Don't iterate too far up. (#147965, Olivier Sessink)
+
Fri Jul 23 10:28:43 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_finalize):
+Fri Jul 23 11:01:00 2004 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag):
+ Don't iterate too far up. (#147965, Olivier Sessink)
+
Fri Jul 23 10:28:43 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_finalize):
line_ancestor = line->parent;
line_ancestor_parent = line->parent->parent;
- node = line_ancestor_parent->children.node;
- while (node != line_ancestor || line_ancestor != info->tag_root)
+ while (line_ancestor != info->tag_root)
{
GSList *child_nodes = NULL;
GSList *tmp;
/* Create reverse-order list of nodes before
* line_ancestor
*/
+ if (line_ancestor_parent != NULL)
+ node = line_ancestor_parent->children.node;
+ else
+ node = line_ancestor;
+
while (node != line_ancestor && node != NULL)
{
child_nodes = g_slist_prepend (child_nodes, node);
/* Didn't find anything on this level; go up one level. */
line_ancestor = line_ancestor_parent;
line_ancestor_parent = line_ancestor->parent;
-
- if (line_ancestor_parent != NULL)
- {
- node = line_ancestor_parent->children.node;
- }
}
/* No dice. */